package com.linwj.hello.spring.cloud.alibaba.nacos.consumer.feign.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class EchoServiceFallback implements EchoService{
    @Override
    public String echo(String message) {
        log.error("...............服务宕机了");
        return "echo fallback";
    }
}
